package com.ganyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ganyu.domain.ResponseResult;
import com.ganyu.domain.dto.AdminUserRoleDto;
import com.ganyu.domain.entity.Article;
import com.ganyu.domain.entity.User;
import com.ganyu.domain.vo.AdminInsertUserVo;

/**
 * DATA: 2022/10/2
 * Author: 晨夕
 */
public interface AdminUserService extends IService<User> {
    //分页查询用户
    ResponseResult selectUserList(Integer pageNum, Integer pageSize, String userName, String phonenumber,String status);

    //添加用户
    ResponseResult insertUser(AdminUserRoleDto adminUserRoleDto);

    //删除用户
    ResponseResult deleteUser(Long[] ids);

    //根据id查询用户
    ResponseResult selectUser(Long id);

    //修改
    ResponseResult updateUser(AdminInsertUserVo adminInsertUserVo);
}
